Python's os.makedirs() tries to make all uppper path when absolute path passed