Workarounds for headius/thread_safe#40.
Adds rule to .gitignore.