Move file stuff back to plFile for gcc/clang.

This fixes CoreLib compilation.

I also fixed up plPageOptimizer so that it should compile, but I couldn't get it to link under clang. I suspect it depends on stuff that doesn't build yet (like plModifier).