Refactor ScriptNameUtil to return FqName instead of String, update usages.