add header to lame generated pcm

also change the way to paint wav frame
separate wav file and wav frame