MRStep1 write temp file from ram to local