Fixing Mavericks problem where data dir can't be found.

This should fix issue #1  -- but please check with Windows and older versions of Mac OS X - I am unable to.