Introduced str_safe_as_pathname that just checks string before using them
as path to save to, returns error otherwise. Check is performed before
saving server conf, recordings and ban list.