Odamex crashes when trying to write a demo to a path that does not exist
In my cfg, I have:
set "cl_netdemoname" "demos\\Odamex_%g_%d_%t_%n_%w_%m"
which would normally save my demo to \odamex\demos\whatever.odd. However, I forgot to create the directory "demos" when I installed the new version of Odamex, and when I tried to launch a demo mid-game the client instantly crashed. In the past it would say "failed to write demo" but now it does not even do that. Ideally the client could create the folder and save the demo without the user having to create things manually.
Fixed with this PR: