Check tmp folder before proceeding