--ignore-permissions flag to `docker build` now ignores files that cannot be accessed.

Adds an `--ignore-permissions` flag to `docker build` to ignore permissions errors while creating the context to upload.

Resolves #6521.
os.Stat wasn't giving me the result I expected, so I just try to open it to detect permission errors.