fx::peer - Fixed init bug in exchange, and bad API when explicitly setting the state-dir.