Set the correct path when downloading files