make PHDR work with IFileReaderFactory