Added Builder#get_current_revision method.
set ENV["TMP"] and ENV["TEMP"] if tmpdir is specified in config file.