In Tmdb Plugin Fixed Exception and added read/write to config file

In Tmdb Plugin Fixed Exception and added read/write to config file