Allow exporting files as gettext in Translate

Bug: 40341
Change-Id: Ie60b3f0ac0770925cbbc99a52f990b27bd613bd9