Fix issue with file names with sub folders resulting in an invalid log file name.
Fix issue with file names with sub folders resulting in an invalid log file name.

willu47/pyrate,UCL-ShippingGroup/pyrate,willu47/pyrate,UCL-ShippingGroup/pyrate