add util.make_dir() and its auxiliary local functions
replace os.execute('mkdir -p DIR') with util.make_dir(DIR)

The problem was that 'mkdir -p' is not available on Windows.
fix: remove trailing separator in parent_dir()
Merge pull request #4 from mnicky/master

creating directories in a portable way