Handle bytes-type configuration keys when user passes in a string