Return EINVAL when trying to dump blob which was not loaded
[0.1.12] Properly handle fread() failure in load_part()