Only write to config when changes are made

config.yaml is being written to every time the workflow runs, even if
no changes were made to it. Since the cache is invalidated every time
the config file changes, this results in slow performance for people
with many downloaded files.
Merge pull request #7 from clintxs/master

Only write to config when changes are made