fix issues with non-ASCII filenames in GDALTools, thanks to Evgenia for
pointing on this problem