Runtime ClassCastException while attempting to log problems with file deletion while cleaning inbox.