make file handling more idiomatic
make file handling more idiomatic

Skytim/TEGEconomicTest,Skytim/TEGEconomicTest,pgiraud/app-flickrperson,Skytim/TEGEconomicTest,pgiraud/app-flickrperson,SkyTruth/pybossa_tools,PyBossa/app-flickrperson,PyBossa/app-flickrperson,SkyTruth/pybossa_tools,PyBossa/app-flickrperson,pgiraud/app-flickrperson