Update script for generating Garmin map files

Refactor script. Properly quote variables, add some commenting, remove spurious
quotes, change some double quotes to single quotes and replace `...` with
$(...).