v2 changes.

- Get source path from input params.
- Open files in binary mode.
- Prevent extra end of line if the parsed files were edited in windows T_T.