readability in write_out methods

thanks to @locks for this one