Fix createResponse file name generation issue