Only clear when the native file input is cleared.
Merge pull request #55 from jespermjonsson/fix-premature-clear

Only clear when the native file input is cleared