Fix for Error writing configs: ('cannot represent an object', WindowsPath('C:/dev/hummingbot/logs') issue on v1.7.0
PR - https://github.com/hummingbot/hummingbot/pull/5574