Chomp stdout in load current resources.

The value extracted from stdout may have \n.  The effect is to
make every run of the provider non-idempotent.