Add Pathname#write and Pathname#binwrite since 2.1.0