Fix for the issue " libtocc::Manager should check for the existence of `base_path`"

Made changes aforesaid except one
DIR*  dptr1, dptr2;   //this declaration doesn't mean both are pointers.. don't you think ... this declaration is unclear and we shud prepend '*' to variable names.