Fix a name clash

Rename class attribute `Media.path` to `Media.path_`. This prevents the
attribute from conflicting with the method of the same name.

Fix #1429.