7953f657cc
os.Rename() fails with "device or resource busy" on bind-mounted files. Fall back to direct os.WriteFile when rename fails. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>