Fix #26
Override sanitize_path_components to make sure no known invalid characters are sent to the device