fastannotate: slice strings to get single character
Behaves identically on Python 3 and Python 2.
Differential Revision: https://phab.mercurial-scm.org/D5612
local test passedaddgroupcopy test passedclone test passedlowlevelcopy test passedslicing test passedissnapshot test passedfindsnapshot test passed