janf-erasurecodes/cpp: support for random reads and read over the files end