Gofmt rules us all.
Protect config against multithreads.

- Fix a test that could have possible data race.
- Remove outdated filename functionality in Bot for config's filename
  newly included functionality.