replace __gnu_cxx::stdio_filebuf with boost::iostreams
(re)unify client iostreams

boost::iostreams does not do lseek()s without being asked
extend try-block around entire function