Fix replacing $HASTE_MAIN in the startup code given by --start option.
Merge pull request #241 from minoki/master

Fix replacing $HASTE_MAIN in the startup code given by --start option.