Adding makedir fct

Adding a function used in every spider to make a tmp directory.