More RAII wrappers around libpng