Used `bin.mkpath` and `man1.mkpath` rather than `mkdir` constructs.