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

Please follow our Code Style: Braces should open on the next line, tabs are two-wide space, and * is belong to the Type, not the variable (i.e. DIR* dptr).
And please don't use abbrev names like ``dptr`` or ``msg``.