Previous version was actually saving as GIF with PNG extension. Oops.