49c6be334c
With 'shellslash' set, tempname() returns a filename with forward slashes, which trips up the type command if we don't translate to backslashes first. Fixes half of #212.