Fix .dat filepath.