Create "go" script "cd" wrapper to handle go handle cases where a file is specified instead of a directory