Work around a bug in PhysFS related to seeking to the end of a file