Fix bug with mode parameter not passed to os.mkdir
Merge pull request #16 from elliot42/master

Fix bug with mode parameter not passed to os.mkdir