Restored _escape_unicode for Python 2

Summary:

Test Plan:

Reviewers: carl