Accept unicode method names in scheduler.

This fixes a bug where reschedule_job() will break if database backend retrieves unicode for string values.