Call to_s on the extension as it may be a symbol. Fixes #10