Handle non-strings when quoting

Given:
```js
var quote = require('shell-quote');
var str = quote(['some-cmd', '--port', 7000]);
```
Expected result is: `'some-cmd --port 7000'`
Actual result is an exception is thrown because `Object 7000 has no method 'replace'`