Update megam.py

got rid of import os.path and import os, not needed and it increases stability without it