package.loader: Capture flush operation exceptions
Related to https://sentry.softwareheritage.org/share/issue/7248d60cf825458680cdfd4572167d06/