Harden review findings: private buildExportScript, exit code 77
- Make buildExportScript private to prevent calling it without UUID
validation from other LadderKit code
- Use exit code 77 for permission errors so attic can detect them
via exit code instead of fragile string matching on stderr
- Convert escaping tests to test escapeForAppleScript directly