fix issue that corrupts .twurlrc file when setting default profile

fix issue that corrupts .twurlrc file when setting default profile to profile name shorter that existing default.

i have samples of this if you would like to review.

i.e. changing default to jrptest from jaakkosf will result in an extra line and character in the .twurlrc file, therefore making it a corrupted YAML file.