Adjust filename suggestion to match time range.

This commit also fixes a segfault that occured because the magnitude and phase
data was not being cleared and resized in the same was as the complex FFT data
was.