SENTRY-432 : Changes :
             - Fix test case regression as well as compile error due to java downgrade
             - Fix to ensure that directory privileges after rename or set-location works as expected