Fix a crash when creating box images. (Probably related to #915 and #877)
Make sure cover art files are deleted when a game’s box image changes.