Create the directory for the debug_logfile (RIPD-551)

I think `std::cerr` is the best plan