Fixed the path for temp dir