move fetchRemotePackage to outside of file packager generated code
start network fetch as early as possible in file packager output