strip newline characters from env files