Fix preg_quote not escaping dashes

Example:

<?php
echo preg_quote('-');

HHVM Output:

    -

Correct Output:

    \-

Closes #1440