Added utils method to decode strings in any encoding and encode to unicode
Fixed traceback if sample filename contains non-ascii chars