Fix path to media files