Also convert 'LA' mode pictures to RGB before saving to JPEG

This fixes issue #378 for me.