Validates a newline policy at the end of each file