#54302Filesize might be wrong after setContents() in LocalDriver
Description
I use the setContents() function in an Extension and stumbled upon this strange problem:
Directly after calling setContents() the getSize() of the file always returned 0.
After some research I found out that it seems to be a PHP cache issue. When I call clearstatcache() after file_put_contents() the value for the file size is correct.
So I think it would be a good idea to call clearstatcache() after file_put_contents() in the LocalDriver.