This was implemented in fusefrontend_reverse, but we need it in fusefrontend as well. Move the algorithm into pathiv.BlockIV().
...under the new name "FileIVs". This will also be used by forward mode.
We will also need it in forward mode.