Make sure text-properties are removed from contents

`buffer-string' function will get fontified information.