Implement File::equals
Add Filesystem::equals
Add File::copyToFile
Clear php statcache after writing to file
Pass file instance to image conversion methods