Use `Pathname.write`