jsonrpc: fix "size" property from Files.GetDirectory overflowing and not returning bytes