Fixed bug in the file upload control.