Fixed rmdir and unlink operations.