mkdir options process compatible with old options