Plugin folders now check for "." and "..".

This fixes #207.