make FileList and File constructor

JS can create this object to set the file input;
Support rogerwang/node-webkit#927