Hi,
The function byte-recompile-directory cannot compile a directory ending with ".el". Example error:
(byte-recompile-directory "/path/to/ecukes.el" 0 t)
Error: IO error reading /path/to/ecukes.el: Is a directory
If I rename the directory ecukes.el to ecukes it works fine.