Make sure newResource path for NormalModuleReplacementPlugin is absolute

Solution for #281