Add explicit mkpath to Pathname#write_exec_script
Add explicit mkpath to Pathname#write_jar_script
Add explicit mkpath to Pathname#write_env_script