Modified pystarlib to be able to write to file objects.
The old behaviour was to call the builtin Python open() function to open the file. Now this only occurs when the filename class variable is a string.
Authored by: bugman 2012-06-10
Parent: [r184]
Child: [r186]