Use `Pathname.write` instead.