Fixing up python rc file and improving gitignore.