Fix use of wrong `std::string` constructor, correct broken control char detection.
Should be outputting `num_changes` too, just like regular planet dump does.