Override Kernel#puts in a better way