preserve_application decorator is not confined to test cases anymore.

PluginFileLoader was improved to possibly abort on error, and at least let the caller know
if anything unusual happened