ECL-299 uploadFile() with emptyFileName didnt save permissions properly