filesetup: ensure that we align file starting offset