This adds `platform.Readdirnames` which is preparation work before doing something similar for reading the directory. We use this in gojs as it doesn't actually need dirents, rather just names. Signed-off-by: Adrian Cole <adrian@tetrate.io>