Make sure the downloadable file is stored in woocommerce's custom upload dir.