RawFileStore.getFileId

This was originally opened as gh-1929 for testing in-place import. The changes themselves, though, are independent of that work. This is a simple API addition that's been needed for sometime, so it should be fine to get in now and build the rest of in-place import on top of it.