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