Adding the tmp directory to store remote images before being converted to pdf