Fix for proper plugin deletion of original files in ebook