Fixed errors in data frame dump/restore.