blame: allow --contents to work with non-HEAD commit