Do heartbeats when updating the file manifest so the heartbeat is fresher

This seems to help with #116