Fix to change IFS to \r for bash 3.2