Update migrator.php

when used in a setup task. The output created didn't add a line ending.
Merge pull request #1959 from dotramses/patch-1

Update migrator.php