Also clean up temp directory on post-replace size mismatch to match all other error paths in compact_if_needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>