DOCX Input: Fix error when converting DOCX file that contains only image based links and no text based links. Fixes #1263021 [Book failed to convert docx to ePub](https://bugs.launchpad.net/calibre/+bug/1263021)
Edit book: Fix deleting a file that is currently open in an editor, not auto-closing the editor