Support mocked file paths in the spec helper's parse_source

This is to support the rubocop-rspec gem mentioned in #731, and just generally helpful for cops that need to check a file's path