Fix for handling ctf data.

This will remain as a branch for the moment. Changes will be pulled once jumeg_preprocessing has been tested and sorted.