char: move pipe chardev in its own file