status: fix handling of filenames with special prefixes

Fix libgit2/libgit2sharp#379