Fix for forge.document.location() bug under IE
Close xpi file when packaging firefox