res_type_to_string() didn't handle 2DA resources
Add Stream::Dump() which dumps the resource to stdout.
Added a Resource::Dump() which calls the former.
Use Resource::Dump() instead of DumpToFile