Proper Audio/Video Dumping

READY TO MERGE

Screwed up the previous PR, replacing with new PR

Old notes: https://github.com/dolphin-emu/dolphin/pull/1183
there's no need to use a stringstream here, since `std::string` implements a concatenation operator `+`.