ghostscripts pswrite device is deprecated. replaced with ps2write
fixed opening files from command line