Tweaked bed file generation and parsing format.