Fix for multiline option values

Need to split by \n otherwise values like command with args will be split by space too.