Handling Python Memory Errors with Large File Chunking - Fix Chrome Sync Error Quickly-Fixing Python UnicodeDecodeError with latin-1 Codec

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.