update to genjavadoc 0.4 and fix path concat in Unidoc, see #3144