Two small fixes for IOStore and metalink.