Fix fetch_resources - check for file existence in Media/Static + suppport for http/https links