If the target file is a directory, don't try to read it.

lodash/vendor/platform.js/* is a really awful directory name