Fix whitespace and convert DOS to UNIX line endings