Clear file list when file input set to empty

In Chrome, when cancelling the file selection dialog it clears the underlying
file input value, which fires a change event if a file was already selected.

This commit guards against this condition.