make-fs: respect libguestfs' temporary dir

Do not hardcode /tmp.
make-fs: do not leak the fd from mkstemp
launch: direct: check for null paths in make_uri

Some protocols may pass a null path to make_uri, so make sure to handle
that gracefully.