archive: use util.opener when archiving files.
This simplifies the code a bit and makes it easier to support symlinks.
#!/bin/sh# a test for issue586hg init acd aecho a > ahg ci -Amahg init ../bcd ../becho b > bhg ci -Ambhg pull -f ../ahg mergehg rm -f ahg ci -Amchg st -A