Fixed file upload operation to work with Google Drive.