Fixed off by one error in last sector calculation.
Problem made it impossible to write back a file created with
the -A parameter.