[fuchsia] Hack set handle flags readable/writable.
diff --git a/deps/uv/src/unix/pipe.c b/deps/uv/src/unix/pipe.c
index 040d578..7cabcbd 100644
--- a/deps/uv/src/unix/pipe.c
+++ b/deps/uv/src/unix/pipe.c
@@ -160,11 +160,17 @@
     return err;
 #endif /* defined(__APPLE__) */
 
+#ifdef __Fuchsia__
+  // TODO(victor): fcntl is not returning the correct mode.
+  // As a temporary hack, we set both flags.
+  flags |= UV_HANDLE_READABLE | UV_HANDLE_WRITABLE;
+#else
   mode &= O_ACCMODE;
   if (mode != O_WRONLY)
     flags |= UV_HANDLE_READABLE;
   if (mode != O_RDONLY)
     flags |= UV_HANDLE_WRITABLE;
+#endif
 
   return uv__stream_open((uv_stream_t*)handle, fd, flags);
 }