Migrated old genes2bed script from clio repository.