Set git attributes of files in data dir

Prior to fix, when checking out the data dir on a Windows machine, git might
use CRLF line endings, which causes problems when loading file data and writing
to the terminal with curses.