Fix failing exception message test in ResourceWatcherTest

Haven't been able to run the full test suite; can't run `inotify` on OS X! Hopefully Travis will run them on the PR.

M