fix rec.sh to use less cpu intensive RAW format