Take a filepath, add randome characters to its basename,
    and return the new filepath

    :param filename: either a filename or filepath
    :param length_random: length of random string to be generated

def random_name_filepath(path_full, length_random=5):
    '''Take a filepath, add randome characters to its basename,
    and return the new filepath

    :param filename: either a filename or filepath
    :param length_random: length of random string to be generated
    '''
    path_full_pre_extension, extension = os.path.splitext(path_full)
    random_str = random_str_uuid(length_random)
    return "{}{}{}".format(path_full_pre_extension, random_str, extension)