trivial patch: load should ignore trailing whitespaces

This becomes handy with the completion patches by david-christiansen.