Delete temporary directory after specking
Fix bug with directory prepending