Dir.mktmpdir is a bit safer to use here