Don't try to remove a folder whilst in it.
Don't try to remove a folder whilst in it.

We'll see this folder again as a listing in the parent,
from where it makes more sense to try to remove it.
This also ensures that we won't ever try to remove the
root folder that we're iterating through, and avoids a
PHP error from trying to remove something that ends in '/.'

Change-Id: I5c0dbf24964ab3c868db7c17743326c3caa6a2f4

jmorse/cyanide,jmorse/cyanide,jmorse/cyanide,jmorse/cyanide