Add the PROFIO_PATH and PROFIO_NAME env support

If we'd like to set the directory and the trace file name, the simplest
way is to set it in the env like export (BASH) or set (CSH) before we
run the program.