Create the directory for the debug_logfile (RIPD-551)

I don't see an implementation for this function.