Added support for browsers not supporting the File API (IE < 10)