Added check that arguments are indeed named pipes