Create the directory of the HTTP log file, not the log file as a directory
Fixes test after last backport