deploy: Create the binary wrappers after having rewritten the exports
deploy: Create the binary wrappers after having rewritten the exports

Interestingly the telegram appid is "org.telegram.desktop", which means
the wrapper ends up having a .desktop extension which confuses the
desktop file exporter. We fix this by rewriting any exports before
creating the wrappers.

Fixes https://github.com/flathub/org.telegram.desktop/issues/18

Closes: #1270
Approved by: alexlarsson

matthiasclasen/flatpak,flatpak/flatpak,matthiasclasen/flatpak,flatpak/flatpak,handsome-feng/flatpak,flatpak/flatpak,flatpak/flatpak,flatpak/flatpak,handsome-feng/flatpak,matthiasclasen/flatpak,matthiasclasen/flatpak,handsome-feng/flatpak,handsome-feng/flatpak,matthiasclasen/flatpak,handsome-feng/flatpak