Uploader: calculate CRC based on current file size

Using the board size allowed having a mismatch between the
file size and the board size when switching between the
two.

Fixes #1389