Create the directory for the debug_logfile (RIPD-551)

I believe that it always does, but I'd really have to double-check.