Changed XM::File::save() to use seek() properly.

Changed ```XM::File::save()``` to use absolute ```seek()``` rather than relative ones.
I hope this will fix #345, but I'm not sure.