Change methods calls

Change the methods calls because the Osmium API differs from the origin
development times.
Merge pull request #5 from YaGeek/master

Change of API with the last version of Osmium