block: fix writing of empty DOS labels