If log directory/file doesn't exist, create it.

I had a problem that they didn't exist on my system, so every time writeDebugLog was called, it spat an exception out.

This just makes sure that Logs/ exists (and creates it if it doesn't), and that the file exists (and creates it if it doesn't) so when you write to it, there is actually a file to write to.