Properly handle illegal characters in Note titles

Use case or problem

A note titled “Motivation?” on iOS is not persisted / syncronized due to the “?” not being a legal character for filenames. The UI does not prevent users from using such characters, nor does the logic behind hadle this (e.g. by escaping the characters)

Proposed solution

Prevent characters illegal within filenames to be entered in Note titles (or prevent them from being used in the filename), so that persisting and synchronizing notes is not blocked by e.g. “?” in a notes title.

Current workaround (optional)

Related feature requests (optional)