Added Content-Length header in file upload.