Handle encoded URIs correctly in import-epub