Bug 1054578: Don't use temporary files when possible

Also makes sure to package the right icons
Makes me wonder why were we doing that in first place.