when you say within the CSV file null value is getting converted to empty, what are you expecting? Do you want those values to be preserved as null?
Below is the CSV dataset configuration :
wherein by default the null is replaced with empty string. You can specify the value you want for null values within the file