Fix detection of code files.