Correctly calculate the size of FileUploads. See BZ-418985