magit-read-file-from-rev: fix regression