only compare filesize as int.

Problem comparing strings as per this post: https://couchpota.to/forum/viewtopic.php?f=5&t=3474