Allow files with no extension to be returned from directories