International sales are the driving factor behind why studios keep making “Pirates of the Caribbean” and “Transformers.”