Make sure the output is in the tmp dir