Strip newline from final ACKed SHA while fetching packs.

Without this change, the final ACKed SHA will be (eg) `1122334455667788990011223344556677889900\n` instead of `1122334455667788990011223344556677889900`.