Logger: create logfile's subdirectory if nec.