util._hgexecutable: default to 'hg'
This should make hooks work even if util.set_hgexecutable is not called
(e.g. hgweb.cgi).
Fixes
issue625.
archive: use util.opener when archiving files.
This simplifies the code a bit and makes it easier to support symlinks.