Use ftruncate() for [ext]savedatafile_SetSize() on *nix.