only replace extension if no params/next (prevent clash with multiple files with just extension differs)
only replace extension if no params/next (prevent clash with multiple files with just extension differs)

HeapsIO/heaps,R32/heaps