added chown for jpg exported json files