chdir to location of trace file when doing replay