Adding a call to fs.exists before copying/linking files

I ran into this while doing component build -c with a file referenced in the component.json that did not exist. Since fstat's error has not .message attribute, all I got was "error: undefined" ... took me a while to figure it out.

Also, without this fix component's linking silently links nonexistent files.