Handle more cleanly user cancelling file picker.
Probably caused #137 on older Chrome.