JBIDE-17718 CordovaSim: Fixing CordovaSim's preferences directory