Implement mkdir feature. Closes #47.