fix(prepare-commit-msg): append to file contents

By not appending to the file, you lose a previous commit
message when ammending a commit. This fixes that.