Added a new function util.splitLiteral(str, RegExp).
On discussion with maxauthority this is probably the best way of doing things for now.
When an <input type="file"> is selected with hints, it will cause an "Upload file: " prompt in the commandline. (Selection with tab and mouse is left unchanged and will cause the firefox dialog to display)