Remove NetBeans project files.
Added a missing exception.