Added Python script to rewrite regions.tsv to three files

To 'platform definition', mapping file and samples file.