Changed the /preferences endpoint to return an id and and a path for the
defaultOutputDir setting.