Create bai and md5 files, and save bed files

Don't we need rpt inthe prefix of the name here (and for insertions and junctions below)?