Prevent error when piping bower output to head, fixes #1396
Merge pull request #1508 from bower/fix/head-pipe

Prevent error when piping bower output to head, fixes #1396