error on overwrite different file size