Fixed deep directory creation for command line utility