Use io.BytesIO rather than a real on-disk file for test
Merge pull request #2090 from mdboom/fix-test-agg-repeated-save

Fix test_repeated_save_with_alpha on Windows