I have just found the answer on Adobe's bug base at https://bugbase.adobe.com/index.cfm?event=bug&id=3554224
It is caused by having a trailing slash at the end of the directory path. Once I remove the trailing slash and restarted CF the file names are returned as expected.