File and Dir methods moved to shared prototypes
upgrade manifest
fix special case where path contains a query