replace str_replace in parseName

Only replace the match at the beginning of the string. Ran into trouble with folders named like ‘12-2012-05-13’.