translate Paths to valid dot-separated MongoDB collection names (Fixes #139)

Hmm, you could convert it to a list and write a recursive function to translate it. There might be a better way.