idmacs-apidoc: fix file-exists test for local CHM