Use absolute paths to avoid ambiguity in os.makedirs

This is in response to the Python docs at https://docs.python.org/2/library/os.html#os.makedirs reading
> Note: `makedirs()` will become confused if the path elements to create include `os.pardir`.

(`os.pardir` is "..", not an entirely unlikely substring in a target directory description)