Fix a crash when uploading files to some sites. https://redmine.stoutner.com/issues/556