Use php's filesize to get the dimension binding's filesize instead of the slower imagick path.
WS
Dimension binding filesize saving has to happen after the files are saved.

This ends up saving the binding twice. We want to save it before saving the file to disk to make sure there are no exceptions in the sql to prevent orphans, so we need to do the filesize processing after the file has been saved.