Return the name of directory containing file path. This is similar to the well known shell command "dirname".