Empty directories should contain .keep file, closes #1717