fix bug in writing map file add int()
Merge branch 'master' of https://github.com/jorox/python