update wq/wq.sh: replace filename.N when file size is 0