def METHOD_NAME(self, targetPFN):
    """
    _createOutputDirectory_
    Create a dir for the target pfn by translating it to
    a /dcache or /lustre name and calling mkdir
    we don't need to convert it, just mkdir.
    """
    method = self.storageMethod(targetPFN)
    if method == 'xrdcp':  # xrdcp autocreates parent directories
        return
    elif method == 'srm':
        self.srmImpl.METHOD_NAME(targetPFN)
    elif method == 'local':
        targetdir = os.path.dirname(targetPFN)
        command = "#!/bin/sh\n"
        command += "if [ ! -e \"%s\" ]; then\n" % targetdir
        command += " mkdir -p %s\n" % targetdir
        command += "fi\n"
        self.executeCommand(command)