bug #2918: set tmpdir in sunstone for image uploads

This makes the tmpdir parameter in the configuration work in passenger installations