Fixed issue with files with the same name but different extension in hak builder.