Fixed uploads in IE10, closes #370