t0021: use write_script to create rot13 shell script