Saves an dictionary to csv-file.
arg (dict) – dictionary or dataframe to be saved.
out_dir (str) – path to output folder.
fname (str) – name of stored item.