added a workaround and more logging when a file cannot be fetched