Skip space in filepath for most mac users

For most mac users, python code os.getcwd() will
generate a string contains 'Macintosh HD', which
has a space char inside. This cause cscope unable
to recognize the path. Shell command "pwd" works
well in this case, this update forces Mac users to
use this command instead of os.getcwd().