Proper escape of string