rose: fix bugs reported by pylint

This fixes some of the errors reported by running `pylint -E` on the Rose/Rosie code (the others were false positives).

@arjclark, please review.