Added dirname default value
Merge branch 'master' of https://github.com/kgantsov/simimg