def sanitized_filename(proj):
    """Remove undesired characters from a filename component"""
    proj = proj.replace('+', '')
    for c in r'/\:*?"<>|':
        proj = proj.replace(c, '_')
    return proj.strip().replace(' ', '-')