fix end-of-line code issues

Read "Procfile" using universal newline mode.

Also read line by line with `File.foreach` enumerator, instead of slurping by `File.read`.