Add pipe? check for files

This depends on https://github.com/serverspec/specinfra/pull/274.