libutil.cc: add escape_path_spaces()

Spaces need to be escaped in any system() calls, so we have this simple function which escapes spaces with either doublequotes (Windows style) or backslashes (UNIX style).

Signed-off-by: Steven Noonan <steven@uplinklabs.net>

Created by  Steven Noonan  on September 30, 2009
W3SLCJKEIIRL6WSWYSN5ATZ5XC4GPJLKHGR37AEOZQNO6AQ2HGEAC
Change contents