The .xsn file is just a .cab file. You can rename it to .cab and then extract the source files out. Then you can open the manifest.xsf file in notepad, and remove the xsf:header block. When done, right-click the manifest.xsf file and choose design. Then save your template back to a .xsn file.