Enable pretty logging if Tornado is installed.
Change the working directory before moving/copying file to avoid file
locks on Windows.
Handle invalid directory in PATH enviroment variable when looking for
the server.