Add flags to converter.py to set output directory

One "bug" (or perhaps feature, since you probably shouldn't dump files
into the bare /tmp directory) is that "/tmp" is not a valid output
location, because makedirs will fail to set the correct permissions.
However, subdirectories of /tmp are not a problem.