remove trailing slashes for .vim path