sanitize_uri_for_filesystem

@accepts(utf8)
@returns(utf8)
def sanitize_uri_for_filesystem(uri)

Removes characters from @uri that are not allowed by the filesystem on which it would be stored. At present, this only supports MS DOS filesystems.

uri :

a URI to sanitize

Returns :

sanitized copy of @uri, must be freed by caller.