Fix multipart file size bug