Fixes for add, move, detect binary.

array.equals is bad. Arrays.equals is what we want. Everything was
binary.
Fixed bad null check.
Fixed random create file line.
Progress on moving directories. Not yet tested.