ensure that fsFile.bytesUploaded is always set correctly