Fix relative-buffer-file-name for non vcs files.

Add missing tests.