add --pid option
change 'f << string + "\n"' to 'f.puts string'
remove to_s from Process.pid.
Merge pull request #7 from tekezo/add_pid_option

add --pid option