The rally came despite August’s historically weak track record for Bitcoin.