Create bai and md5 files, and save bed files