Removed tempfile() from population_map() to be able to work with newer get_map() functionality and resolve problem in github.