TST: Fix test_backend_ps failures on Windows
TST: fix test errors on Python 3
Merge pull request #3249 from cgohlke/patch-1

TST: Fix test_backend_ps failures on Windows
Fix memory leak in FT2Font.
Fix memory leaks in the temporary rasterized images.