Ruby program to replace strings occurrences in big files.