How can I write even numbers from a file to a new file in Python each on a new line