safe_remove_folder and makedirs added.

safe_remove_folder: removing folders on windows doesn't always work this function works.

makedirs: Allows making directories without exception if the folder already exists.