Use robust makedirs logic
Use robust makedirs logic

Also precompile the regex for name cleaning since we use it for
every file and directory.

RafaelPalomar/girder,opadron/girder,sutartmelson/girder,Xarthisius/girder,adsorensen/girder,salamb/girder,salamb/girder,adsorensen/girder,essamjoubori/girder,Xarthisius/girder,msmolens/girder,jcfr/girder,sutartmelson/girder,girder/girder,essamjoubori/girder,data-exp-lab/girder,data-exp-lab/girder,msmolens/girder,jbeezley/girder,data-exp-lab/girder,adsorensen/girder,msmolens/girder,Xarthisius/girder,chrismattmann/girder,data-exp-lab/girder,chrismattmann/girder,Kitware/girder,salamb/girder,sutartmelson/girder,msmolens/girder,jbeezley/girder,adsorensen/girder,manthey/girder,kotfic/girder,Kitware/girder,chrismattmann/girder,salamb/girder,girder/girder,jbeezley/girder,RafaelPalomar/girder,manthey/girder,opadron/girder,jbeezley/girder,essamjoubori/girder,opadron/girder,opadron/girder,RafaelPalomar/girder,Xarthisius/girder,chrismattmann/girder,chrismattmann/girder,jcfr/girder,RafaelPalomar/girder,Xarthisius/girder,Kitware/girder,msmolens/girder,girder/girder,kotfic/girder,manthey/girder,RafaelPalomar/girder,data-exp-lab/girder,jcfr/girder,jcfr/girder,kotfic/girder,opadron/girder,salamb/girder,Kitware/girder,jcfr/girder,essamjoubori/girder,essamjoubori/girder,kotfic/girder,sutartmelson/girder,adsorensen/girder,manthey/girder,girder/girder,sutartmelson/girder,kotfic/girder