Safe chars

Avoid path traversal and invalid chars.

import re
safe = re.sub(r"[\/:*?"<>|]", "_", name)