Allow inventory to be read from a pipe

As discussed in https://github.com/ansible/ansible/issues/3166 , this PR removes the double read of a given hosts file, thereby allowing it to accept a shell pipe.