A bit more work on resuming partial files.