Create the directory for the debug_logfile (RIPD-551)

I agree - I mainly just wanted to keep with the existing "style"