Adding support for folder upload. Currently only in chrome.