Summary: Make sure `inferTraceBugs` works with non-ascii characters. Harden the code a bit more on the way. Fixes #592 Reviewed By: mbouaziz Differential Revision: D4659016 fbshipit-source-id: 79f7a80