min node.js version
extract temporary files handling to separate module