save raw data to data.pkl