Fixed bug in GPXSerializer. It was creating files even if mWriteMode == null.