Almost all inventions can be reduced to "just math", because after all, that's what we use to describe the physical world, and oh also computer software things.
I'm not in favour of patents at all, but the entire "it's math" argument has always seemed exceedingly weak to me.
These files have carefully constructed format though. To read and write the patented format goes beyond patenting math. I think cmrdporcupine was getting at something.
Fourier could call his transform a "process" all he wants, but that does not make it patentable.
So yes, "oh, math."