erasure-code: enforce chunk size alignment