`Dir.mkdir` can act as a block which changes directory.