Fixing leak in LASPointWriter.

Hi. It seems to me that we need to delete header also. I am working on tiling clouds into LAS files, and I found my memory full of dandgling LAS headers.

Thank-you.