Fixed the scenario where public/uploads/results folder doesn't exist.