Must set mode on directory with Directory resource

After upgrading Chef (11.4.4 --> 11.6.2) one cannot set mode on
directory with the File resource.