Fixed an issue with spec files when a separator (sep) is not specified.