tee(1) truncated $fname. Fortunately, the data that got truncated had just been `git add`-ed, so no harm was done.