charmloader: log fails to file

Log all charms and bundles that failed the ingestion process. With err descriptions if possible.