make sure temp directory is empty