Fixes #1245. Undefined method exception when using compass watch in jruby 1.7.8.  This is actually a regression from native Pathname addition.  Some methods which should use class of caller was instead using Pathname.  This is far from clear since some Pathname methods do seem to use Pathname and not subclass.