Allow running gi18n on same directory as input files

[#72130818]