def file_system_arn(arn):
    """
    Converts an ARN to a file-system friendly string, so that it can be used for directory &
    file names
    """
    for source, dest in {":": "#", "/": "_", " ": "_"}.items():
        arn = arn.replace(source, dest)
    return arn