Remove extra trailing new line at end of file