OAK-7335: oak-upgrade long name filter should consider the path length Maximum length of a character in Java is 3 bytes.