EDIT NOTE: This affects all instances of sleep, not just closing the lid. I don't think there is any way to specify a setting just for that. If you want to undo it, repeat the command, but give "hibernatemode" the value of "3". Also, a value of "0" makes it suspend directly to RAM and fall asleep instantly, without bothering to write the safe sleep file.