Cancel upload when trying to upload non-readable files.