Fix relative path method.
Correct ls-files call to include untracked files.
Bump version to 0.3.1.