On my Windows machine the following steps worked:
1. Rename .epub to .zip.
2. Double-click the .zip file to open it
3. Drag & drop the .xml file to the META-INF folder.
4. Close the Explorer window that shows the contents of the .zip file.
5. Rename .zip to .epub.
The resulting file with pass epubcheck.