Added code for --convert-only flag; detects spikes on first chunk but then only performs format conversion