Move .gitignore media rules to its directory