Fixed old bug that caused improper .pfd files when folding time series