accomodate *.sh for Windows

While sed works fine under Windows environment, /dev/stdin is pure Unix term.
This patch allows to bootstrap files under both OS.
Can't test it under MacOSX.

Please, consider applying.
TIA,
--Vladimir