Fixed csv upload for Firefox