safely create multiple ReadStream or WriteStream objects from the same file descriptor