<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_prefix_dir(self, path, fmt):
 """Create the prefix dir, if missing"""

        create_prefix_dir(self._get_os_path(path.strip('/')), fmt)