Bug fix for missing require 'tmpdir' in cloud.rb