scmutil: fix __enter__ in progress context manager
Differential Revision: https://phab.mercurial-scm.org/D3861
Greg Ward, author of the original bfiles extensionNa'Tosha Bard of Unity TechnologiesFog Creek SoftwareSpecial thanks to the University of Toronto and the UCOSP program