Ignore backup files

Ignore content files ending in ~ and make the error message when encountering an unspecified file extension more helpful.