remove temporary directory