HSUploader-2: Firefox permission denied

Fixed "Error: Permission denied to access property '0'". Firefox has
trouble accessing the dataTransfer.files object with files[0]. This
could be a bug on the browser or a security feature to prevent direct
accessing.

Fixed by using a loop to access the FileList's iterator to retrieve the
file object.