Use ftruncate() for sdmcfile_SetSize() on *nix.