When reading file data from wsDFUAccessV2, for some files the type returned is INDEXLOCAL. This isn't in the dfu partition filetype list.
Adding it in to the enum appears to resolve the issue.
These two values were added to ws_dfu.ecm two months ago:
as part of a TLK enhancement.