ENOTDIR isn’t consistent; have an ugly hack.