Fix CR/LF and update gitignore

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>