magit-gitignore: quote backslashes

Fixes #1687.