fs: factor out common code in fget_light() and fget_raw_light()