Fix property file creation and management.