[PATCH v2 07/35] common: Move functions for loading from fat/ext2 to fs.h