clearstatcache
PHP filesize on Linux is statcached and require to use clearstatcache in order to clear the cached filesize