it seems that you did not create that /etc/pm/config.d/00s2ram correctly , in VIM , use :wq to save and quit , pls remove 00s2ram.swp also , it just a file temporary created by VIM.
it seems that you did not create that /etc/pm/ config. d/00s2ram correctly , in VIM , use :wq to save and quit , pls remove 00s2ram.swp also , it just a file temporary created by VIM.