Replace dangerous .gitignore

The previously used .gitignore forced line ending conversion for all
file types, i. e. including binary files. This can lead to corrupted
files.