Fix unhandled exception with non-ascii filenames

If a reported file doesn't have any tags, the file name is used for logging, but this file name is not properly decoded, so file names with non-ASCII characters make this program exit with a traceback.

This commit properly decodes the file name.