Check tempfile path