append a newline when writing dub.selections.json