Issue #2027129: Core's image_style_flush() has been fixed, so amazons3_image_style_flush() can be simplified.