bugfix: get_dirents RPC has no error propagation
Implement proper error propagation and handling on get_dirents RPC. Error happening on the deamon are now embedded on the returned response and the client throws an exception once he receives the response.