fixed file resize for VIGRA_NO_SPARSE_FILE