Fixed download if file does not exist