[TS] Fix fd_write to match the ABI, quiet environ call logging