use cmdline hg impl for filesystem access to work around bugs