ignore named pipes

Having named pipes would cause the search to hang when it reached it.

This is my first time coding in C.  I would welcome any feedback on the PR and would not take it badly if it was ignored because I did something wholly bad with this code.