removes any missed preview.* files

reworked some if/elif logic in write_entry
* if file exists and posting (not editing), it must be in drafts folder
* if file exists and editing, it must not be