Fix PTS and XPM blkfile format. Fix XPM difficulty calculate.