Create legal filename on Windows