jsonrpc: fix "mimetype" being empty in Files.GetDirectory