Fixed hang on trying to read other file format than FIT

Will send undefined rawdata if not .FIT datatype