creating temp and backup dirs