Add a method that retrieves file status

We don't have any way to request information about a specific file. We
would have to iterate through the directory until we found it. Instead
add a method where we can request information about a certain path.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>