Implemented unget for limited input
Changed IO close method signature
Fixed io_put on string output streams