Stable data file now writes to the correct directory.