Fix for recovering from a broken download checkpoint