Add .gitignore
Fix another fprintf %d -> %lu