fix reading of non-detached .nrrd files

problem: line reading of header is buffered
solution: correct file pointer to just behind header before reading data