Error handling in iameta

Still need to log errors somewhere but this handles errors reading the meta data and updating the db. 
@russellholt @jbarrett 
I think you want to mv first before you read or attempt anything that will error.