Testfiles are supposed to end with a newline

Zends temporary *.php files all end with a newline. That mismatch results in some bad test be moved to good and vice versa if the test uses __FILE__.

Run zends run-test.php --keep-php to view the test files.

Fixes #3174