Move os.makedirs calls into own function.
Move os.makedirs calls into own function.

This way we avoid repeating the comment on why we do not check for
existing directories.

ddddavidmartin/branch-notes,ddddavidmartin/branch-notes