[posixdirectory] fixups