extended tag substitution list
fixed previously added handling of invalid chars in filenames, couldn't handle utf-8 chars correctly