For a long time, piracy was a low-risk, high-reward enterprise