Added static path middlewear (adds version to static path).