Re #6630. Apparently you should create directories with absolute path.