Fixes issue #34: check filesize after upload to ensure that the uploads has not been canceled