Tests fixes for safe_qgis.report on windows.