common: properly quote strings tested with -n