putting temporary zip files in rails tmp folder to solve unable to read problem