Implemented check for cells containing line break

- Also add in a check for cell is null before converting it to String