make i18n:export more flexible, fix a couple bugs
make i18n:export more flexible, fix a couple bugs

Change-Id: Ic149e693162e8fee15bffca26d9472a176608505
Reviewed-on: https://gerrit.instructure.com/5155
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>

kyroskoh/canvas-lms,arrivu/qibla-ecampus,grahamb/canvas-lms,ankithbti/canvas_lms,Jyaasa/canvas-lms,ottenhoff/canvas-lms,ShreniiNepal/shrenii_lmp,instructure/canvas-lms,narigone/canvas,utkarshx/canvas-lms,instructure/canvas-lms,wrdsb/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,fronteerio/canvas-lms,shidao-fm/canvas-lms,gbleydon/canvas-lms,instructure/canvas-lms,arrivu/hoodemo,Unow/ins,wimemx/Canvas,rup/Tarrax,wye0220/shindig-canvas,Jyaasa/canvas-lms,sdeleon28/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,nditech/red-innovadores-lms,Unow/canvas-lms,greyhwndz/canvas-lms,nditech/red-innovadores-lms,SwinburneOnline/canvas-lms,narigone/canvas,sfu/canvas-lms,antoniuslin/canvas-lms,sfu/canvas-lms,arrivu/hoodemo,landonwilkins/canvas-lms,parbros/red-innovadores-lms,wye0220/shindig-canvas,antoniuslin/canvas-lms,djbender/canvas-lms,Unow/ins,matematikk-mooc/canvas-lms,arrivu/arrivu-lms,matematikk-mooc/canvas-lms,ShreniiNepal/shrenii_lmp,efrj/canvas-lms,grahamb/canvas-lms,leftplusrightllc/canvas-lms,greyhwndz/canvas-lms,shidao-fm/canvas-lms,redconfetti/canvas-lms,va7map/canvas-lms,tgroshon/canvas-lms,leftplusrightllc/canvas-lms,loganrun/pincan,AndranikMarkosyan/lms,em2/canvas-lms,SwinburneOnline/canvas-lms,landonwilkins/canvas-lms,Jyaasa/canvas-lms,narigone/canvas,parbros/red-innovadores-lms,grahamb/canvas-lms,redconfetti/canvas-lms,sli7246/canvas_branch,snehakachroo1/LSI_replica,arrivu/arrivu-lms,utkarshx/canvas-lms,dgynn/canvas-lms,fronteerio/canvas-lms,whalejasmine/canvas-lms,Rvor/canvas-lms,eCNAP/CANVAS,usmschuck/canvas,arrivu/jigsaw-lms,loganrun/pincan,kyroskoh/canvas-lms,wye0220/shindig-canvas,wrdsb/canvas-lms,ankithbti/canvas_lms,whalejasmine/canvas-lms,parbros/red-innovadores-lms,landonwilkins/canvas-lms,ShreniiNepal/shrenii_lmp,roxolan/canvas-lms,leftplusrightllc/canvas-lms,efrj/canvas-lms,merichar/canvas-lms,arrivu/hiring-site,roxolan/canvas-lms,wimemx/Canvas,usmschuck/canvas,roxolan/canvas-lms,djbender/canvas-lms,eCNAP/CANVAS,arrivu/hiring-site,antoniuslin/canvas-lms,skmezanul/canvas-lms,jay3126/canvas-lms,rup/Tarrax,em2/canvas-lms,wrdsb/canvas-lms,wimemx/Canvas,antoniuslin/canvas-lms,sdeleon28/canvas-lms,sdeleon28/canvas-lms,venturehive/canvas-lms,Unow/canvas-lms,samuels410/greatlakes-lms,merichar/canvas-lms,sfu/canvas-lms,va7map/canvas-lms,faraazkhan/canvas,jay3126/canvas-lms,usmschuck/canvas,ottenhoff/canvas-lms,arrivu/hiring-site,eCNAP/CANVAS,djbender/canvas-lms,samuels410/greatlakes-lms,shidao-fm/canvas-lms,arrivu/qibla-ecampus,narigone/canvas,icelab/canvas,HotChalk/canvas-lms,efrj/canvas-lms,instructure/canvas-lms,dgynn/canvas-lms,tgroshon/canvas-lms,merichar/canvas-lms,snehakachroo1/LSI_replica,jay3126/canvas-lms,gbleydon/canvas-lms,arrivu/jigsaw-lms,skmezanul/canvas-lms,jay3126/canvas-lms,wrdsb/canvas-lms,em2/canvas-lms,nditech/red-innovadores-lms,loganrun/pincan,landonwilkins/canvas-lms,roxolan/canvas-lms,ottenhoff/canvas-lms,Rvor/canvas-lms,whalejasmine/canvas-lms,kyroskoh/canvas-lms,grahamb/canvas-lms,whalejasmine/canvas-lms,greyhwndz/canvas-lms,arrivu/arrivu-lms,shidao-fm/canvas-lms,venturehive/canvas-lms,greyhwndz/canvas-lms,sdeleon28/canvas-lms,AndranikMarkosyan/lms,tgroshon/canvas-lms,SwinburneOnline/canvas-lms,juoni/canvas-lms,usmschuck/canvas,HotChalk/canvas-lms,efrj/canvas-lms,dgynn/canvas-lms,nditech/red-innovadores-lms,snehakachroo1/LSI_replica,tgroshon/canvas-lms,arrivu/jigsaw-lms,sli7246/canvas_branch,Unow/ins,arrivu/hoodemo,eCNAP/CANVAS,utkarshx/canvas-lms,redconfetti/canvas-lms,Jyaasa/canvas-lms,fronteerio/canvas-lms,juoni/canvas-lms,venturehive/canvas-lms,leftplusrightllc/canvas-lms,gbleydon/canvas-lms,rup/Tarrax,arrivu/qibla-ecampus,djbender/canvas-lms,faraazkhan/canvas,venturehive/canvas-lms,sli7246/canvas_branch,icelab/canvas,samuels410/greatlakes-lms,sfu/canvas-lms,fronteerio/canvas-lms,Rvor/canvas-lms,instructure/canvas-lms,SwinburneOnline/canvas-lms,matematikk-mooc/canvas-lms,va7map/canvas-lms,samuels410/greatlakes-lms,AndranikMarkosyan/lms,ankithbti/canvas_lms,faraazkhan/canvas,va7map/canvas-lms,juoni/canvas-lms,juoni/canvas-lms,grahamb/canvas-lms,AndranikMarkosyan/lms,kyroskoh/canvas-lms,icelab/canvas,Unow/canvas-lms,redconfetti/canvas-lms,skmezanul/canvas-lms,matematikk-mooc/canvas-lms,dgynn/canvas-lms,snehakachroo1/LSI_replica,utkarshx/canvas-lms,instructure/canvas-lms,skmezanul/canvas-lms,ShreniiNepal/shrenii_lmp,Rvor/canvas-lms