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