Add blank line to end of index
Fix obj repr of index: path -> hash
Actually check file passed to update_index() going in