Removed unneeded closing PHP tags

Removed unneeded closing PHP tags (?>) which are not needed and can cause problems.

P.S. Why phake pollutes global namespace, should I refactor it not to?