only compare filesize as int.
Merge pull request #2987 from clinton-hall/dev-filesize

only compare filesize as int.