fix log message in remove_file function

you probably want to use _log.exception, this is what it does.
```
 Logger.exception(msg, *args, **kwargs)
Logs a message with level ERROR on this logger. The arguments are interpreted as for debug(). Exception info is added to the logging message. This method should only be called from an exception handler.
```