bash completion should use mktemp intead of tempfile so that it works in cygwin