Properly escape slashes in specs