infer relative paths in file packager only when not told explicit src and dest paths, and fix test_preload_file