Create parent directories on initial installation

Problem

Some of the proposed installation paths are deeply nested and
several levels of directories might not exist, which leads to a
failing installation.

Solution

Use the `-p` flag with `mkdir`.
Merge pull request #16 from sschober/master

Create parent directories on initial installation