fixed bug with utf8 encoding at filenames.