Convert to string before shellescaping