Convert a file to a StorePath. Just having the real path is meaningless, because it makes builds in impure