Added support for RAM (Real Media) files

Added check on string != nil when doing appendString