Photo strip is saved as png instead of jpg to play nice with cairo

Fixed a memory leak in config read string