Python has excellent facilities for writing simple files and their use is very common (moreso, I think, than this kind of method chaining). I am not opposed to layering an OO interface like you describe on top of this simple free function interface, but that should be a separate PR after this big PR is merged.