Explicitly mkdir missing folders. Fixes #21.