Move gff formatting to a subroutine, and correct for coordinates < 1.