write

Encode and write to path. Best-effort — returns true on success, false if the write threw.