fixed sync, proper encoding/unicode support also reimplemented to use python folder/file scanning as I suck with sed regex's