Fixed absolute URI detection in EPUB writer.  Closes #1672.