Create the directory for the debug_logfile (RIPD-551)

Artifact - will be removed.