Create directories on the absolute path.