ACCUMULO-2761: Add regex to remove everything after the last slash
Merge ACCUMULO-2761 from branch '1.6.1-SNAPSHOT'
ACCUMULO-2811: Move directory creation to the constructor so that the directory creation is only attempted once. Check that the directory does not exist first.
Merge branch '1.6.1-SNAPSHOT'