add hideInput option

Sometimes we want a consitent look-and-feel across different browsers.

But file inputs in various browsers such as firefox and chrome are presented far differently.

the new option `hideInput` just hide the input box and show the `select` button as needed, so as they looks the same in different browsers.

This new option is compatible to existing codes that if its not provided or set to `true`, it just behaves as before.