Handling non-ASCII characters in the log filepath when printing pip help message