Fixed RobotItem.getWritableDirectory() so it is consistent with getReadableDirectory().