• Appends file extension to fname if not already there.

    Parameters

    • fname: string
    • ext: string

    Returns string