Changed/extended perl templates.
Replaced windows line breaks for linux line breaks on the perl
templates.