Merge pull request #1544 from auouymous/sync-check-filesize