fixes for removing dependeny from boost_iostream + fixes for temp wrapper