mount.cifs: check for invalid characters in device name and mountpoint