Most commands access the filesystem through the command-line interface
rather than the filesystem API itself. Add a new header file which
contains these functions, so we can separate commands from the API.
Signed-off-by: Simon Glass <sjg@chromium.org>