Add working-directory option support.