Fixed file upload to gridfs