Remove some temporary files and add pattern to .gitignore