Remove trailing whitespace

e.g.:
```
find lib/cylc/ -type f | xargs perl -pi -e 's/ +$//'
```