Fixed an error thrown when attempting to overwrite an existing .xst file