windows: use multiple of 512 for data_len