Copy in fix_paths.dart from pixelate for doc viewer