fix bug in save dialog

defaults to home directory and ensures .rb extension added by default