removed encoding from writefilesync and upped version