go/parser: Use test-specific filesets to avoid races.

Only affects test code.

Fixes issue 9025.
Fixes issue 9130.

LGTM=r, adonovan
R=adonovan, r
CC=golang-codereviews
https://codereview.appspot.com/180920043