flush the property - this gets called when the file is created

I'm really not sure why it does this; but it works.