IMPROVE (gist saving): Files now properly rename using api

Ref #119

A much more elegant solution which prevents allot of edge cases we were
experiencing.