Diffusion KIO 42da8d28d612

Use a lambda to reduce repeating code and better handle io errors

Authored by meven on May 30 2020, 7:37 AM.