Fix uninitiazed pointer.
[bencoding] Add .idea/ to gitignore.