minor: Log an exception if we aren't able to delete a script state file rather than simply ignoring it.

This should never normally happen but if it does then it can be valuable diagonstic information.