used os.makedirs instead of os.mkdir to be more lenient on non existing sub-dirs
Merge pull request #11 from davidovich/makedirs_fix

used os.makedirs instead of os.mkdir to be more lenient on non existing ...