[BUGFIX] Respect file create mask for PackageStates file