Fix the pymaging backend not able to save the image to a buffer

Fixes #40
Post-release version bump