Sync program doesn't update policy filename properly

It seems the policy file inside the MongoDB may not be updated correctly.

For example, for policy example/mypolicy/1.0 the filename will be mypolicy_1.0.rego

It should be example/mypolicy/1.0/policy.rego

Edited by Lyuben Penkovski