Added tempfile required lib
Merge remote-tracking branch 'require-tempfile'