Make sure the filereadble() before get parent dir

We should make sure the file is readable or not before find the parent's directory, it can get rid of `fugitive:///....` files.