fixes #811 : Handling asset creation without ext

Hi Gordon, just I added this to create a text type of gist by default, as per your comment, 
shall remove the explicit extension assignment here?