Set page_size to 1 instead of 0 in the case file alignment value is zero.