fix mkdir options