fix bug in save dialog

Save dialogue changed to default to home directory and ensures .rb extension added