Fixes traceback when printing XLS reports in ptBR.

Change-Id: I840e09629317946a3f5a8706205b8057ab57239c