lqr_wpset: flatten image before any saving cache

Save occasionally fails otherwise with non-descriptive errors