Make sure that 'plugins' and 'bin' are directories.