UPGRADE: paks renaming dirs to directories.