replace _print_immediately with IO::Handle
Merge pull request #2 from tokubass/master

replace _print_immediately with IO::Handle