Fixed EZP-21400: Discard draft, removes image file

Fixes https://jira.ez.no/browse/EZP-21400.

Oracle has no default escape character, when a character is escaped, it is required that the escape character is explicitly defined by appending:
```sql
ESCAPE '\'
```