remote-hg: avoid buggy strftime()