LLVM::Module#print accepts IO object