It is not `File#toString`, it is `URL#toString` that is used.  That does not use getPath and does not use the escaped characters.  Yes using `this.getResource()` is the change we needed as that properly handles paths with special characters.