removed std::cout and std::cin from dump.hpp, added ostream argument to print(), removed default constructor from both dump_reader and dump_writer